@import 'modules/reset.scss';
@import 'modules/header.scss';
@import 'modules/footer.scss';
@import 'modules/leader.scss';
.main {
    width: 100%;
    min-height: 530px;
    position: relative;
    overflow: hidden;
    &-contain {
        .cart-login {
            border: 1px solid #e4e4e4;
            padding: 15px 20px;
            color: #999;
            font-size: 13px;
            line-height: 18px;
            width: 1200px;
            margin: 30px auto;
            overflow: hidden;
            >h4 {
                color: #f05124;
                font-size: 16px;
                line-height: 30px;
            }
            >p {
                padding: 3px 0;
                >a {
                    color: #888;
                    display: inline-block;
                    border-bottom: 1px solid #999;
                }
            }
        }
        .cart-main {
            width: 1200px;
            margin: 30px auto;
            overflow: hidden;
            margin-bottom: 50px;
            .cart-title {
                height: 50px;
                line-height: 50px;
                >span {
                    display: inline-block;
                    font-size: 28px;
                    font-weight: 600;
                    position: relative;
                    color: #000;
                    overflow: hidden;
                    vertical-align: middle;
                }
            }
            .empty {
                display: none;
                margin: 30px 0;
                text-align: center;
                img {
                    display: block;
                    width: 80px;
                    margin: 0 auto 15px;
                }
                p {
                    text-align: center;
                    line-height: 18px;
                    font-size: 13px;
                    color: #999;
                    padding: 3px 0px;
                    display: inline-block;
                }
                a {
                    display: inline-block;
                    color: #888;
                    border-bottom: 1px solid #999;
                }
            }
            .cart-full {
                .cart-top {
                    margin: 5px 0 15px;
                    .checkbox {
                        width: 0;
                        height: 0;
                        margin: 0;
                        padding: 0;
                        border: 0;
                    }
                    i {
                        display: inline-block;
                        height: 15px;
                        width: 15px;
                        background: #fff;
                        border: 1px solid #111;
                        position: relative;
                        top: 3px;
                        margin-right: 8px;
                    }
                }
            }
            .car-table {
                width: 100%;
                border-collapse: collapse;
                border: none;
                tr {
                    display: table-row;
                    .td-check {
                        padding: 20px 0;
                        border-bottom: 1px solid #c3c3c3;
                        width: 40px;
                    }
                    .td-img {
                        padding: 20px 0;
                        border-bottom: 1px solid #c3c3c3;
                        width: 150px;
                        img {
                            display: block;
                            width: 100px;
                            height: 100px;
                            margin: 0 auto;
                        }
                    }
                    .td-infos {
                        border-bottom: 1px solid #c3c3c3;
                        .fl {
                            width: 900px;
                            h5 {
                                font-size: 18px;
                                color: #000;
                                font-weight: 600;
                                line-height: 30px;
                            }
                            p {
                                font-size: 13px;
                                line-height: 22px;
                                color: #777;
                                span {
                                    margin: 0 7px;
                                }
                                span:first-child {
                                    margin-left: 0;
                                }
                            }
                        }
                        .fr {
                            width: 100px;
                            text-align: right;
                            .infos-price {
                                display: block;
                                color: #000;
                                font-size: 16px;
                            }
                        }
                        .info-bottom {
                            .fl {
                                .num-sub,
                                .num-add {
                                    display: inline-block;
                                    height: 26px;
                                    width: 30px;
                                    border: 1px solid #ccc;
                                    text-align: center;
                                    font-size: 18px;
                                    line-height: 24px;
                                    vertical-align: middle;
                                    color: #999;
                                    cursor: pointer;
                                }
                                .num-text {
                                    outline: none;
                                    border: 1px solid #ccc;
                                    margin-left: -1px;
                                    margin-right: -1px;
                                    height: 26px;
                                    text-align: center;
                                    width: 80px;
                                    vertical-align: middle;
                                }
                                span {
                                    color: #ccc;
                                }
                            }
                            .fr {
                                a {
                                    color: #ccc;
                                }
                            }
                        }
                    }
                }
            }
            .cart-foot {
                position: fixed;
                height: 70px;
                overflow: hidden;
                width: 100%;
                min-width: 1200px;
                border-top: 1px solid #5d5d5d;
                bottom: 0;
                left: 0;
                background: rgba(41, 41, 41, .9);
                color: #fff;
                .contain {
                    width: 1200px;
                    margin: 0 auto;
                    overflow: hidden;
                    .sum-infos {
                        width: 960px;
                        margin-right: 20px;
                        margin-top: 20px;
                        line-height: 40px;
                        .sum-operate {
                            .checkbox {
                                margin-right: 15px;
                                width: 15px;
                                height: 15px;
                                margin: 0;
                                padding: 0;
                                border: none;
                            }
                            a {
                                margin-right: 15px;
                                color: #fff;
                            }
                        }
                        .sum-show {
                            >span {
                                display: block;
                                line-height: 14px;
                            }
                            >span.price {
                                font-size: 18px;
                                line-height: 30px;
                            }
                        }
                    }
                    .sum-btn {
                        height: 40px;
                        padding: 0 30px;
                        border-left: 1px solid #999;
                        margin-top: 15px;
                        >a {
                            display: block;
                            height: 40px;
                            width: 150px;
                            text-align: center;
                            background: #e44025;
                            line-height: 40px;
                            font-size: 15px;
                        }
                    }
                }
            }
        }
    }
}